package com.study.event;

import com.study.pojo.LogPojo;
import lombok.Data;
import org.springframework.context.ApplicationEvent;

@Data
public class LogSaveEvent extends ApplicationEvent {
    private LogPojo logPojo;

    public LogSaveEvent(Object source, LogPojo logPojo) {
        super(source);
        this.logPojo = logPojo;
    }

    public LogSaveEvent(Object source) {
        super(source);
    }
}
